package com.neusoft.service.impl;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.base.BaseServiceImpl;
import com.neusoft.mapper.NewsMapper;
import com.neusoft.po.News;
import com.neusoft.service.NewsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class NewsServiceImpl extends BaseServiceImpl<News> implements NewsService {


    @Resource
    private NewsMapper newsMapper;

    @Override
    public BaseMapper<News> getBaseDao() {
        return newsMapper;
    }

}
